#include "collidable.h"


collidable::collidable(void)
{
}

collidable::collidable(char sign, int xpos, int ypos, int type)
{
	this->sign = sign;
	this->x_position = xpos;
	this->y_position = ypos; 
	this->type = type;
}

int collidable::animate(gameField* field)
{
	if (type == 1){
		return 0x1008;
	}
	else if (type == 2)
	{
	}
}
int collidable::animate(int s)
{
	return 0x1000;
}

int collidable::animate(collidable* c, int s)
{
	if (type == 1 && c->type == 0){
		return 0x9001;
	}
}



collidable::~collidable(void)
{
}
